home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,801 to 2,900
/
aol-file-protocol-4400-2801-to-2900.zip
/
AOLDLs
/
C++ Files Library
/
3D & Offscreen for MacApp 3
/
3D & Offscreen Sample.sea
/
3D & Offscreen Sample
/
M3DSample.cp
< prev
next >
Wrap
Text File
|
1993-05-10
|
2KB
|
77 lines
#ifndef __MACAPP__
#include <MacApp.h>
#endif
#ifndef __UPRINTING__
#include <UPrinting.h>
#endif
#ifndef __UGRIDVIEW__
#include <UGridView.h>
#endif
#ifndef __UTEVIEW__
#include <UTEView.h>
#endif
#ifndef __UDIALOG__
#include <UDialog.h>
#endif
#ifndef __GRAF3D__
#include <Graf3D.h>
#endif
#ifndef __UAPPLICATION__
#include <UApplication.h>
#endif
#ifndef __UGEOMETRY__
#include <UGeometry.h>
#endif
#ifndef __T3DObjectView__
#include "T3DObjectView.h"
#endif
#ifndef __T3DView__
#include "T3DView.h"
#endif
#ifndef __TOffscreenAdorner__
#include "TOffscreenAdorner.h"
#endif
#ifndef __TSquareWindow__
#include "TSquareWindow.h"
#endif
#ifndef __UMACAPPUTILITIES__
#include <UMacAppUtilities.h>
#endif
Port3DPtr gThePort3DPtr;
//----------------------------------------------------------------------------------------
// main:
//----------------------------------------------------------------------------------------
void main()
{
macroDontDeadStrip(TOffscreenAdorner);
macroDontDeadStrip(T3DObjectView);
macroDontDeadStrip(T3DView);
macroDontDeadStrip(TSquareWindow);
TApplication *g3DApplication;
InitToolBox();
if (ValidateConfiguration(gConfiguration))
{
InitUMacApp(12); // Initialize MacApp; 12 calls to MoreMasters
InitUTEView();
InitUDialog();
InitUGridView();
InitGrf3d (&gThePort3DPtr);
g3DApplication = new TApplication;
g3DApplication->IApplication(' ', ' ');
g3DApplication->Run();
}
else
StdAlert(phUnsupportedConfiguration);
} // main